package com.guli.edu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName: EduApplication 
 * @Description: TODO
 * @author: liuzg
 * @Date: 2021/1/29 10:24
 * @Version: v1.0
 */
@EnableFeignClients // feign服务调用
@EnableDiscoveryClient // nacos服务注册
@SpringBootApplication
@ComponentScan(basePackages = {"com.guli"}) // 扫描包加载swagger
public class EduApplication {

    public static void main(String[] args) {
        SpringApplication.run(EduApplication.class);
    }



}
